<?php App::import('Sanitize'); ?>
<div class="welcome"><h2>Profiel van </h2> <h1><?php echo Sanitize::html($designerProfile['DesignerProfile']['first_name']) . " " . Sanitize::html($designerProfile['DesignerProfile']['insertion']) . " " . Sanitize::html($designerProfile['DesignerProfile']['last_name']); ?></h1></div>
				<div class="content-wrapper ui-corner-all">		
					<div class="block-white-top ui-corner-tl ui-corner-tr">
						<div class="clear"></div>
						<div class="profile-summary">

							<div class="logo-conttr">
							<div class="design-kader1">
								<?php echo $this->Html->image($designerProfile['DesignerProfile']['avatar']); ?>
							</div>
							</div>
							<div class="profile-summary-details">
							<p class="profile-name"><?php echo Sanitize::html($designerProfile['DesignerProfile']['first_name']) . " " . Sanitize::html($designerProfile['DesignerProfile']['insertion']) . " " . Sanitize::html($designerProfile['DesignerProfile']['last_name']); ?></p>
							<table>
									<tr><td>Leeftijd:</td><th><?php echo Sanitize::html($designerProfile['DesignerProfile']['age']); ?></th></tr>
									<tr><td>Woonplaats:</td><th><?php echo Sanitize::html($designerProfile['DesignerProfile']['place']); ?></th></tr>
									<tr><td>Contact:</td>
									<th>
									<?php 
									$username = Sanitize::html($designerProfile['User']['username']);
									echo $this->Html->link('Mail mij', array('controller' => 'messages', 'action' => 'send',null, $username));
									?><br />
									<a href="www.leoflapper.nl">Bezoek website</a>
									</th>
									</tr>

							</table>
							</div>
						</div>
						<div class="clear"></div>
					</div>
					<div class="block-white-content ui-corner-bl ui-corner-br">
						<div class="profile-description">
							<h1>Over mij</h1>							
							<p class="profile-desc-main">
							<?php echo Sanitize::html($designerProfile['DesignerProfile']['biography']); ?>
							</p>
							<h1>Kennis</h1>
							<p class="profile-desc-main">
							<?php echo Sanitize::html($designerProfile['DesignerProfile']['knowledge']); ?>
							</p>
							<h1>Vakgebieden</h1>
							<p class="profile-desc-main">
							<?php echo Sanitize::html($designerProfile['DesignerProfile']['workfields']); ?>
							</p>
							<h1>Geschiedenis</h1>
							<div class="profile-desc-history">
							<table>
							<tr><td>Aantal opdrachten:</td><th><?php echo $designerProfile['DesignerProfile']['assignments']; ?></th></tr>
							<tr><td>Gewonnen opdrachten:</td><th><?php echo $designerProfile['DesignerProfile']['won']; ?></th></tr>
							<tr><td>Prijsgeld gewonnen:</td><th><?php echo $designerProfile['DesignerProfile']['price_money']; ?></th></tr>
							</table>
							</div>
						</div>
					</div>
					</div>
					<div class="white-bottom ui-corner-br ui-corner-bl"></div>
